package com.cjst.pojo.base;

import java.util.Date;
import java.util.List;

import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 报警记录相关
 * @author yj
 *
 */
@TableName(name="t_alarm_result")
public class AlarmResult extends PoModel{
	private static final long serialVersionUID = 1L;

	@FieldName(name="type")
    private Integer type;				//类型，0自动触发，1触发报警规则
		
	@FieldName(name="rule_id")
    private String ruleId;					//报警规则id,没有为空
	
	@FieldName(name="alarm_type")
    private String alarmType;				//报警类型
	
	@FieldName(name="alarm_explain")
    private String alarmExplain;				//报警说明
	
	@FieldName(name="img_url")
    private String imgUrl;					//图片id展示，用,分隔开；最多展示10个
	
	@FieldName(name="results")
    private int results;				//处理结果0未处理,1误报,2已处理,3转上级处理
	
	@FieldName(name="results_content")
    private String resultsContent;					//处理意见
	
	@FieldName(name="user_id")
    private String userId;						//处理人
	
	@FieldName(name="part_id")
    private String partId;					//部件id
	
	@FieldName(name="create_by")
    private String createBy;				//创建人，如果是设备可不填写
	
	@FieldName(name="create_time")
    private String createTime;	
	
	@FieldName(name="update_time")
    private String updateTime;	
	
	@FieldName(name="fback")
    private String fback;	
	
	
	@FieldName(name="remark")
    private String remark;	
	
	@FieldName(name="is_broadcast")
	private Integer isBroadcast;				//是否播报  0否  1是
	
	@FieldName(name="del_flag")
    private Integer delFlag;				//是否删除：0否,1是
	
	@FieldName(name="office_id")
    private Integer officeId;	
	
	@FieldName(name="longitude")
    private String longitude;
	@FieldName(name="latitude")
    private String latitude;
	
	@FieldName(name="alarm_type")
    private String alarmTypeBs;
	
	private List<String> imgUrlArray;	

	private String vedioUrl;
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public String getAlarmType() {
		return alarmType;
	}

	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType;
	}

	public String getAlarmExplain() {
		return alarmExplain;
	}

	public void setAlarmExplain(String alarmExplain) {
		this.alarmExplain = alarmExplain;
	}


	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}


	public int getResults() {
		return results;
	}

	public void setResults(int results) {
		this.results = results;
	}

	public String getResultsContent() {
		return resultsContent;
	}

	public void setResultsContent(String resultsContent) {
		this.resultsContent = resultsContent;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPartId() {
		return partId;
	}

	public void setPartId(String partId) {
		this.partId = partId;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getFback() {
		return fback;
	}

	public void setFback(String fback) {
		this.fback = fback;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsBroadcast() {
		return isBroadcast;
	}

	public void setIsBroadcast(Integer isBroadcast) {
		this.isBroadcast = isBroadcast;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getOfficeId() {
		return officeId;
	}

	public void setOfficeId(Integer officeId) {
		this.officeId = officeId;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getAlarmTypeBs() {
		return alarmTypeBs;
	}

	public void setAlarmTypeBs(String alarmTypeBs) {
		this.alarmTypeBs = alarmTypeBs;
	}

	public List<String> getImgUrlArray() {
		return imgUrlArray;
	}

	public void setImgUrlArray(List<String> imgUrlArray) {
		this.imgUrlArray = imgUrlArray;
	}

	public String getVedioUrl() {
		return vedioUrl;
	}

	public void setVedioUrl(String vedioUrl) {
		this.vedioUrl = vedioUrl;
	}

	
}
